package com.xquant.marketdata.marketdata.mapper;

import com.xquant.marketdata.marketdata.domain.*;
import org.springframework.stereotype.Repository;

import java.util.List;
import java.util.Map;

/**
 * 指数Mapper接口
 *
 * @author zipeng.li
 * @date 2022-03-09
 */
@Repository
public interface TidxMapper {
    List<TidxDTO> queryTidxInfoByPage(Map<String, Object> params);

    List<TidxComponentDTO> queryTidxComponentByPage(Map<String, Object> params);

    List<TidxSeriesDTO> queryTidxSeriesByPage(Map<String, Object> params);

    void updateIndexPrice(TidxSeriesDTO tidxSeriesDTO);
}
